<?php

namespace app\common\validate;

use think\Validate;

class Shop extends Validate
{
    protected $rule = [
        'member_id' => 'unique:shop',
        'shop_name' => 'unique:shop',
        'card_no' => 'unique:shop'
    ];  

    protected $message = [
        'member_id.unique'=>  '400052',
        'shop_name.unique'=>  '400053',
        'card_no.unique' =>  '400054'
    ];
}